#include "dig_wire_name.h"
#include "zip_pkg_list.h"
typedef struct test_node
{
    wire_name_t *wire_name;
    pkg_list_t *pkg_list;
    struct test_node *next;
}test_node_t;

typedef struct test_set
{
    test_node_t *header;
    int count;
}test_set_t;

test_set_t *
test_set_create();
void
test_set_destroy(test_set_t * test_set);

pkg_list_t *
test_node_get_data(test_node_t *test_node);
void
test_node_set_data(test_node_t *test_node, pkg_list_t *pkg_list);
test_node_t *
test_set_insert(test_set_t *test_set, wire_name_t *wire_name);
void
test_set_delete(test_set_t *test_set, wire_name_t *wire_name);

pkg_list_t *
test_set_search(test_set_t *test_set, wire_name_t *wire_name);

